﻿#pragma once

#include <QMainWindow>
#include "ui_mainwindow.h"
#include <thread>

class Http;
class MainWindow : public QMainWindow
{
	Q_OBJECT

public:
	MainWindow(QWidget *parent = nullptr);
	~MainWindow();

private slots:
	void on_pushButton_clicked();

private:
	void RunServer();
private:
	Ui::MainWindow ui;
	Http* server;
	std::thread* m_th = nullptr;
};
